CMAKE_MINIMUM_REQUIRED(VERSION 3.12)

PROJECT(BlockingRingBuffer)
ADD_LIBRARY(BlockingRingBuffer STATIC BlockingRingBuffer.cpp BlockingRingBuffer.h Semaphore.cpp Semaphore.h)
INSTALL(TARGETS BlockingRingBuffer BlockingRingBuffer LIBRARY DESTINATION lib ARCHIVE DESTINATION lib)
INSTALL(FILES BlockingRingBuffer.h Semaphore.h DESTINATION include/BlockingRingBuffer)